// 接口返回数据类型
export interface ResData {
  code: number,
  msg:string
}

// 表格单行数据类型
export interface Case {
  address:string,
  age:number,
  avatar:string,
  bgMusic:string,
  career:string,
  categoryId:number,
  createTime:string,
  createUser:string,
  deleted:number,
  education:string,
  gender:string,
  id?:number,
  isValid:number,
  name:string,
  nationality:string,
  nativePlace:string,
  remark:number,
  updateTime:string,
  updateUser:string,
  version:number,
  file:string,
}

// 全部返回数据类型
export interface CaseResData extends ResData{
  data:{
    records:Case[],
    current:number,
    pages:number,
    size:number,
    total:number,
  }
}

// 查询工具携带参数
export interface queryParams {
  current: number,
  size: number,
  categoryId: string,
  name?: string
}